package com.huike.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.sql.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lwen
 * @since 2019-11-12
 */
public class Policy implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.UUID)
	private String id;

	/**
	 * 政策标题
	 */
	@TableField("title")
	private String title;

	/**
	 * 政策图片
	 */
	@TableField("img_url")
	private String imgUrl;

	/**
	 * 政策描述
	 */
	@TableField("context")
	private String context;

	/**
	 * 所属用户
	 */
	@TableField("belong_user")
	private String belongUser;

	/**
	 * 发布时间
	 */
	@TableField("time")
	private Date time;

	@TableField("remark")
	private String remark;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getContext() {
		return context;
	}

	public void setContext(String context) {
		this.context = context;
	}

	public String getBelongUser() {
		return belongUser;
	}

	public void setBelongUser(String belongUser) {
		this.belongUser = belongUser;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	@Override
	public String toString() {
		return "Policy{" + "id=" + id + ", title=" + title + ", imgUrl=" + imgUrl + ", context=" + context
				+ ", belongUser=" + belongUser + ", time=" + time + ", remark=" + remark + "}";
	}
}
